#ifndef __C_CROSSFIRE_TIMER_H_
#define __C_CROSSFIRE_TIMER_H_

#include "ITimer.h"
#include <windows.h>

namespace cfe
{


class CTimer : public ICF_Timer
{
public:
	CTimer();
	void StartTiming();
	void setPause();
	__int64 GetElapsedTime();
	__int64 GetCounter();
	__int64 GetTicksCounter();
	double ConvertTicksToSecond(__int64 Ticks);
	const bool isPause() const;
	int getFPS(void);
private:
	__int64 freq;
	bool Pause;
	__int64 StartTime;
	float startTimeFPS;
	float FPS;
	float oldFPS;
};

};

#endif